[FFmpeg-devel] [PATCH v3] libavformat/movenc: add dnxhr compatibility for apple players
Mark Reid
mindmark at gmail.com
Thu Jul 7 04:16:54 EEST 2016
On Wed, Jul 6, 2016 at 3:41 PM, Mark Reid <mindmark at gmail.com> wrote:
> ---
> libavcodec/dnxhddec.c | 3 +++
> libavformat/movenc.c | 19 ++++++++++++++-----
> 2 files changed, 17 insertions(+), 5 deletions(-)
>
> diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
> index 1808080..b310e3e 100644
> --- a/libavcodec/dnxhddec.c
> +++ b/libavcodec/dnxhddec.c
> @@ -204,6 +204,9 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
> }
>
> cid = AV_RB32(buf + 0x28);
> + if (cid >= 1270 || cid <= 1274)
oops, this should be:
if (cid >= 1270 && cid <= 1274)
use attached patch instead
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0001-libavformat-movenc-add-dnxhr-compatibility-for-ap.patch
Type: application/octet-stream
Size: 2465 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160706/3eb80c1d/attachment.obj>
More information about the ffmpeg-devel
mailing list