diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-03-09 19:24:09 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-12 00:47:06 +0100 |
commit | a83b9f363c24f5d1482f9722c14fc02f3ca5a1d0 (patch) | |
tree | e682f2263a4ed1764360e4c2cf59f270a0d34f20 /libavdevice/sndio_common.c | |
parent | 5333edcc869181649d7f9d6cdde9f975531c0b8c (diff) | |
download | ffmpeg-a83b9f363c24f5d1482f9722c14fc02f3ca5a1d0.tar.gz |
roqvideoenc: set enc->avctx in roq_encode_init
So far it is only set in roq_encode_frame, but it is used in
roq_encode_end to free the coded_frame. This currently segfaults if
roq_encode_frame is not called between roq_encode_init and
roq_encode_end.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cf82c426fadf90105e1fb9d5ecd267cc3aa2b288)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/sndio_common.c')
0 files changed, 0 insertions, 0 deletions