- use early returns in `init_video_player` to use `goto error` pattern - fix formatting
av_init_packet
av_packet_alloc/free
video.c