Signed-off-by: Mans Rullgard <mans@mansr.com>
*/
av_cold int ff_MPV_common_init(MpegEncContext *s)
{
*/
av_cold int ff_MPV_common_init(MpegEncContext *s)
{
int nb_slices = (HAVE_THREADS &&
s->avctx->active_thread_type & FF_THREAD_SLICE) ?
s->avctx->thread_count : 1;
int nb_slices = (HAVE_THREADS &&
s->avctx->active_thread_type & FF_THREAD_SLICE) ?
s->avctx->thread_count : 1;
}
if (s->width && s->height) {
}
if (s->width && s->height) {
- if ((err = init_context_frame(s)))
+ if (init_context_frame(s))
goto fail;
s->parse_context.state = -1;
goto fail;
s->parse_context.state = -1;