* src/media/media-ffmpeg.c: Remove global video state since it is
not used, except to set to NULL.
(new_media_ffmpeg_read): No need to reset global_video_state, as it is not used.
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
/* since we have only one decoding thread, we can use a global
variable instead of a thread local variable */
-static VideoState *global_video_state;
AVPacket flush_pkt;
/* packet queue handling */
}
ret = 0;
- /* disable interrupting */
- global_video_state = NULL;
/* close each stream */
if (is->audio_stream >= 0)