diff options
author | Rodeo <[email protected]> | 2013-01-16 19:19:43 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-01-16 19:19:43 +0000 |
commit | 9342dc04b6281353599c777f103faadb6bdb1275 (patch) | |
tree | 6e1c90a1e8bdfa0f50977e02c76fd22f4677629e /contrib | |
parent | d50ee9cf20e25c1e1a2c69d86cb99d0539f037e3 (diff) |
Bump Libav to v9.1.
Fixes high bit-depth H.264 decoding.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5176 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ffmpeg/A01-swscale-assert.patch | 2 | ||||
-rw-r--r-- | contrib/ffmpeg/A03-h264-recovery-point.patch | 4 | ||||
-rw-r--r-- | contrib/ffmpeg/A04-dca-resync.patch (renamed from contrib/ffmpeg/A05-dca-resync.patch) | 0 | ||||
-rw-r--r-- | contrib/ffmpeg/A04-snow-use-videodspcontext.patch | 33 | ||||
-rw-r--r-- | contrib/ffmpeg/P01-solaris.patch | 4 | ||||
-rw-r--r-- | contrib/ffmpeg/P02-darwin-pic.patch | 6 | ||||
-rw-r--r-- | contrib/ffmpeg/module.defs | 2 |
7 files changed, 9 insertions, 42 deletions
diff --git a/contrib/ffmpeg/A01-swscale-assert.patch b/contrib/ffmpeg/A01-swscale-assert.patch index e0b6aad6b..9db84b7fa 100644 --- a/contrib/ffmpeg/A01-swscale-assert.patch +++ b/contrib/ffmpeg/A01-swscale-assert.patch @@ -1,5 +1,5 @@ diff --git a/libswscale/utils.c b/libswscale/utils.c -index e5e4d60..062ae01 100644 +index f0a2b46..61506c6 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -531,7 +531,9 @@ static int initFilter(int16_t **outFilter, int32_t **filterPos, diff --git a/contrib/ffmpeg/A03-h264-recovery-point.patch b/contrib/ffmpeg/A03-h264-recovery-point.patch index bbd25ab46..78c182df2 100644 --- a/contrib/ffmpeg/A03-h264-recovery-point.patch +++ b/contrib/ffmpeg/A03-h264-recovery-point.patch @@ -1,5 +1,5 @@ diff --git a/libavcodec/h264.c b/libavcodec/h264.c -index 1a0b341..98a0350 100644 +index 3660597..bf4e072 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2163,6 +2163,7 @@ static void flush_dpb(AVCodecContext *avctx) @@ -10,7 +10,7 @@ index 1a0b341..98a0350 100644 } static int init_poc(H264Context *h) -@@ -3976,9 +3977,18 @@ again: +@@ -3981,9 +3982,18 @@ again: if ((err = decode_slice_header(hx, h))) break; diff --git a/contrib/ffmpeg/A05-dca-resync.patch b/contrib/ffmpeg/A04-dca-resync.patch index 3e32c7a74..3e32c7a74 100644 --- a/contrib/ffmpeg/A05-dca-resync.patch +++ b/contrib/ffmpeg/A04-dca-resync.patch diff --git a/contrib/ffmpeg/A04-snow-use-videodspcontext.patch b/contrib/ffmpeg/A04-snow-use-videodspcontext.patch deleted file mode 100644 index fc9a120b9..000000000 --- a/contrib/ffmpeg/A04-snow-use-videodspcontext.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/libavcodec/snow.c b/libavcodec/snow.c -index b9dab45..153e5b2 100644 ---- a/libavcodec/snow.c -+++ b/libavcodec/snow.c -@@ -349,7 +349,7 @@ void ff_snow_pred_block(SnowContext *s, uint8_t *dst, uint8_t *tmp, int stride, - src += sx + sy*stride; - if( (unsigned)sx >= w - b_w - (HTAPS_MAX-2) - || (unsigned)sy >= h - b_h - (HTAPS_MAX-2)){ -- s->dsp.emulated_edge_mc(tmp + MB_SIZE, src, stride, b_w+HTAPS_MAX-1, b_h+HTAPS_MAX-1, sx, sy, w, h); -+ s->vdsp.emulated_edge_mc(tmp + MB_SIZE, src, stride, b_w+HTAPS_MAX-1, b_h+HTAPS_MAX-1, sx, sy, w, h); - src= tmp + MB_SIZE; - } - // assert(b_w == b_h || 2*b_w == b_h || b_w == 2*b_h); -@@ -402,6 +402,7 @@ av_cold int ff_snow_common_init(AVCodecContext *avctx){ - s->max_ref_frames=1; //just make sure its not an invalid value in case of no initial keyframe - - ff_dsputil_init(&s->dsp, avctx); -+ ff_videodsp_init(&s->vdsp, 8); - ff_dwt_init(&s->dwt); - - #define mcf(dx,dy)\ -diff --git a/libavcodec/snow.h b/libavcodec/snow.h -index abf3309..b988115 100644 ---- a/libavcodec/snow.h -+++ b/libavcodec/snow.h -@@ -108,6 +108,7 @@ typedef struct SnowContext{ - AVCodecContext *avctx; - RangeCoder c; - DSPContext dsp; -+ VideoDSPContext vdsp; - DWTContext dwt; - AVFrame new_picture; - AVFrame input_picture; ///< new_picture with the internal linesizes diff --git a/contrib/ffmpeg/P01-solaris.patch b/contrib/ffmpeg/P01-solaris.patch index b97907941..0a2355f91 100644 --- a/contrib/ffmpeg/P01-solaris.patch +++ b/contrib/ffmpeg/P01-solaris.patch @@ -1,8 +1,8 @@ diff --git a/configure b/configure -index 5355300..5ac7bc0 100755 +index e87a326..5ccfc0f 100755 --- a/configure +++ b/configure -@@ -3146,7 +3146,7 @@ EOF +@@ -3156,7 +3156,7 @@ EOF check_cc <<EOF || die "endian test failed" unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; EOF diff --git a/contrib/ffmpeg/P02-darwin-pic.patch b/contrib/ffmpeg/P02-darwin-pic.patch index 576c23e79..0e0a08429 100644 --- a/contrib/ffmpeg/P02-darwin-pic.patch +++ b/contrib/ffmpeg/P02-darwin-pic.patch @@ -1,8 +1,8 @@ diff --git a/configure b/configure -index 5355300..7ae7148 100755 +index e87a326..422a7a5 100755 --- a/configure +++ b/configure -@@ -2868,6 +2868,7 @@ case $target_os in +@@ -2878,6 +2878,7 @@ case $target_os in AVSERVERLDFLAGS=-Wl,-bind_at_load objformat="macho" enabled x86_64 && objformat="macho64" @@ -10,7 +10,7 @@ index 5355300..7ae7148 100755 enabled_any pic shared || { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; } ;; -@@ -3070,7 +3071,7 @@ esc(){ +@@ -3080,7 +3081,7 @@ esc(){ echo "config:$arch:$subarch:$cpu:$target_os:$(esc $cc_ident):$(esc $LIBAV_CONFIGURATION)" >config.fate diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index 3dbe5d88a..22c1aea56 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -1,7 +1,7 @@ $(eval $(call import.MODULE.defs,FFMPEG,ffmpeg,YASM BZIP2 ZLIB)) $(eval $(call import.CONTRIB.defs,FFMPEG)) -FFMPEG.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libav-v9_beta3.tar.bz2 +FFMPEG.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libav-v9.1.tar.bz2 FFMPEG.CONFIGURE.deps = FFMPEG.CONFIGURE.env = |