Re: [FFmpeg-devel] [PATCH 2/3] mjpegenc: disable huffman coding with AMV

2017-04-08 Thread Rostislav Pehlivanov
On 4 April 2017 at 00:08, Rostislav Pehlivanov wrote: > > > On 4 April 2017 at 00:02, Carl Eugen Hoyos wrote: > >> 2017-04-03 22:13 GMT+02:00 Rostislav Pehlivanov : >> >> > +if (s->huffman && avctx->codec_id == AV_CODEC_ID_AMV) { >> > +av_log(avctx, AV_LOG_WARNING, "AMV doesn't suppo

Re: [FFmpeg-devel] [PATCH 2/3] mjpegenc: disable huffman coding with AMV

2017-04-03 Thread Rostislav Pehlivanov
On 4 April 2017 at 00:02, Carl Eugen Hoyos wrote: > 2017-04-03 22:13 GMT+02:00 Rostislav Pehlivanov : > > > +if (s->huffman && avctx->codec_id == AV_CODEC_ID_AMV) { > > +av_log(avctx, AV_LOG_WARNING, "AMV doesn't support optimized > huffman tables, disabling\n"); > > Iiuc, together wi

Re: [FFmpeg-devel] [PATCH 2/3] mjpegenc: disable huffman coding with AMV

2017-04-03 Thread Carl Eugen Hoyos
2017-04-03 22:13 GMT+02:00 Rostislav Pehlivanov : > +if (s->huffman && avctx->codec_id == AV_CODEC_ID_AMV) { > +av_log(avctx, AV_LOG_WARNING, "AMV doesn't support optimized huffman > tables, disabling\n"); Iiuc, together with 3/3 this prints a warning by default when encoding AMV, th

[FFmpeg-devel] [PATCH 2/3] mjpegenc: disable huffman coding with AMV

2017-04-03 Thread Rostislav Pehlivanov
Isn't supported. Signed-off-by: Rostislav Pehlivanov --- libavcodec/mpegvideo_enc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 71a858fc72..8cc964be23 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc