On Mon, Jan 11, 2016 at 10:58:55AM +0100, Carl Eugen Hoyos wrote: > Hi! > > I guess that attached patch fixes the additional issue in ticket #3307. > > Please comment, Carl Eugen
> libx264.c | 2 ++ > 1 file changed, 2 insertions(+) > cea8163693a2a78b9dc2d1929082e7c76ac542ac patchx264level.diff > diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c > index 88406a3..c1e52a1 100644 > --- a/libavcodec/libx264.c > +++ b/libavcodec/libx264.c > @@ -559,6 +559,8 @@ static av_cold int X264_init(AVCodecContext *avctx) > > if (!strcmp(x4->level, "1b")) { > level_id = 9; > + } else if (atoi(x4->level) > 9) { > + level_id = atoi(x4->level); this should check that teres no "tail" after the integer [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel