Skip to content
  • Tim-Philipp Müller's avatar
    gst/typefind/gsttypefindfunctions.c: Refactor a bit: use context structure to... · 5f6db60a
    Tim-Philipp Müller authored
    gst/typefind/gsttypefindfunctions.c: Refactor a bit: use context structure to track parsing offset and size of availa...
    
    Original commit message from CVS:
    * gst/typefind/gsttypefindfunctions.c: (MpegVideoStreamCtx),
    (mpeg_video_stream_ctx_advance), (mpeg_video_stream_ctx_ensure_data),
    (mpeg_video_stream_type_find):
    Refactor a bit: use context structure to track parsing offset and size of
    available data and make the code a bit clearer. Fixes bad memory access
    in #356937.
    5f6db60a