Hi,

On Thu, Jan 5, 2012 at 3:23 PM, Janne Grunau <[email protected]> wrote:
> The mpeg4 video, H264 and VC-1 parser hold a directly or indirectly
> a MpegEncContext in their private context. Since they do not call the
> common mpegvideo init function slice_context_count has explicitly set
> to 1.
> Prevents a null pointer dereference in the h264 parser and fixes
> buf 193.
> ---
>  libavcodec/h264_parser.c       |    1 +
>  libavcodec/mpeg4video_parser.c |    1 +
>  libavcodec/vc1_parser.c        |    8 ++++++++
>  3 files changed, 10 insertions(+), 0 deletions(-)

OK if tested.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to