mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-25 16:21:13 +00:00
mpegvideo: remove write-only variable
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
717addecad
commit
7e76fc528d
@ -826,7 +826,7 @@ fail:
|
|||||||
*/
|
*/
|
||||||
av_cold int ff_MPV_common_init(MpegEncContext *s)
|
av_cold int ff_MPV_common_init(MpegEncContext *s)
|
||||||
{
|
{
|
||||||
int i, err;
|
int i;
|
||||||
int nb_slices = (HAVE_THREADS &&
|
int nb_slices = (HAVE_THREADS &&
|
||||||
s->avctx->active_thread_type & FF_THREAD_SLICE) ?
|
s->avctx->active_thread_type & FF_THREAD_SLICE) ?
|
||||||
s->avctx->thread_count : 1;
|
s->avctx->thread_count : 1;
|
||||||
@ -913,7 +913,7 @@ av_cold int ff_MPV_common_init(MpegEncContext *s)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (s->width && s->height) {
|
if (s->width && s->height) {
|
||||||
if ((err = init_context_frame(s)))
|
if (init_context_frame(s))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
s->parse_context.state = -1;
|
s->parse_context.state = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user