diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-13 04:58:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-13 04:58:15 +0200 |
commit | e9d0ab5717a4aa7e9d52affaa8d8d76cb3e600e0 (patch) | |
tree | 2b213c0d80d692a707508073d570229059faab46 /libavcodec/h264_sei.c | |
parent | ed8d827ad043036bfad16aa96e79438b6e617834 (diff) | |
download | ffmpeg-streaming-e9d0ab5717a4aa7e9d52affaa8d8d76cb3e600e0.zip ffmpeg-streaming-e9d0ab5717a4aa7e9d52affaa8d8d76cb3e600e0.tar.gz |
h264: fix x264 build detection
Fixes Ticket1503
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_sei.c')
-rw-r--r-- | libavcodec/h264_sei.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c index 0d0d88e..81edeb2 100644 --- a/libavcodec/h264_sei.c +++ b/libavcodec/h264_sei.c @@ -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); |