diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-04-03 21:13:28 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-04-09 00:02:12 +0100 |
commit | 6c9574e490218683a302f3814036bf6b9bbc37df (patch) | |
tree | 31312367bd1e31211c9f168bfa2938fc0f92f710 /tests/api/api-threadmessage-test.c | |
parent | 37fcf089b4a29aa90e4a1ce6a54b4fcc75063f78 (diff) | |
download | ffmpeg-6c9574e490218683a302f3814036bf6b9bbc37df.tar.gz |
mjpegenc_common: check for codec ID before using avctx->priv_data
When coding lossless jpeg the priv context will be pointing to LJpegEncContext
rather than MpegEncContext, which the function expects.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
(cherry picked from commit 2c9be3882a03823413945bd9e2d9af33e6e322d5)
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'tests/api/api-threadmessage-test.c')
0 files changed, 0 insertions, 0 deletions