Commit e9d0ab57 authored by Michael Niedermayer's avatar Michael Niedermayer

h264: fix x264 build detection

Fixes Ticket1503
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ed8d827a
......@@ -111,6 +111,8 @@ static int decode_unregistered_user_data(H264Context *h, int size){
e= sscanf(user_data+16, "x264 - core %d"/*%s - H.264/MPEG-4 AVC codec - Copyleft 2005 - http://www.videolan.org/x264.html*/, &build);
if(e==1 && build>0)
h->x264_build= build;
if(e==1 && build==1 && !strncmp(user_data+16, "x264 - core 0000", 16))
h->x264_build = 67;
if(s->avctx->debug & FF_DEBUG_BUGS)
av_log(s->avctx, AV_LOG_DEBUG, "user data:\"%s\"\n", user_data+16);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment