]> granicus.if.org Git - handbrake/commit
decavcodec: fix avcodec_open failure upon bad extradata
authorJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 24 Jan 2017 18:01:48 +0000 (11:01 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 24 Jan 2017 18:04:17 +0000 (11:04 -0700)
commitca1dcccd09b5dfac93829d46fd6c7c9711898b77
tree4bfb5241c903228e55daf0e3ba33de2a83e56a67
parent4425691a0fd57b30360d39df3bdeebb9cc9b577f
decavcodec: fix avcodec_open failure upon bad extradata

If extradata is improperly parsed, avcodec_open may fail.  Keep trying
avcodec_open as long as there is more data to parse.

Fixes https://github.com/HandBrake/HandBrake/issues/542
libhb/decavcodec.c