On Wed, Jan 27, 2016 at 09:35:42AM +0000, Carl Eugen Hoyos wrote: > Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes: > > > if (!strcmp(x4->level, "1b")) { > > level_id = 9; > > + } else if (atoi(x4->level) > 9) { > > + level_id = atoi(x4->level); > > Ping. > > If this patch is not ok, please explain for > what input it behaves incorrectly.
it is "ok" but not robust IIRC it depends on undocumented behavior of an external lib that is libx264 checking the string ... [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Democracy is the form of government in which you can choose your dictator
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel