diff options
author | Taijian | 2018-08-26 16:00:59 +0200 |
---|---|---|
committer | Taijian | 2018-08-26 16:00:59 +0200 |
commit | a1971ca68b156b7e411e0a4e1f1e0ff6e7e86247 (patch) | |
tree | 711e309d971f8c3524d42c4e4900ecb9e7926d77 /libx264.patch | |
parent | 4ccc4507de736c868f91063ad074662856b52f30 (diff) | |
download | aur-a1971ca68b156b7e411e0a4e1f1e0ff6e7e86247.tar.gz |
incorporate changes due to removal of libx264, add new patch file
Diffstat (limited to 'libx264.patch')
-rw-r--r-- | libx264.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libx264.patch b/libx264.patch new file mode 100644 index 000000000000..8401b2f9c26e --- /dev/null +++ b/libx264.patch @@ -0,0 +1,25 @@ +--- a/external/FFmpeg/libavcodec/libx264.c ++++ b/external/FFmpeg/libavcodec/libx264.c +@@ -279,7 +279,7 @@ + + x264_picture_init( &x4->pic ); + x4->pic.img.i_csp = x4->params.i_csp; +- if (x264_bit_depth > 8) ++ if (X264_BIT_DEPTH > 8) + x4->pic.img.i_csp |= X264_CSP_HIGH_DEPTH; + x4->pic.img.i_plane = avfmt2_num_planes(ctx->pix_fmt); + +@@ -889,11 +889,11 @@ + + static av_cold void X264_init_static(AVCodec *codec) + { +- if (x264_bit_depth == 8) ++ if (X264_BIT_DEPTH == 8) + codec->pix_fmts = pix_fmts_8bit; +- else if (x264_bit_depth == 9) ++ else if (X264_BIT_DEPTH == 9) + codec->pix_fmts = pix_fmts_9bit; +- else if (x264_bit_depth == 10) ++ else if (X264_BIT_DEPTH == 10) + codec->pix_fmts = pix_fmts_10bit; + } |