(e)ac3 parser: set duration instead of frame_size
This commit is contained in:
@@ -93,7 +93,7 @@ get_next:
|
|||||||
avctx->channels = s->channels;
|
avctx->channels = s->channels;
|
||||||
avctx->channel_layout = s->channel_layout;
|
avctx->channel_layout = s->channel_layout;
|
||||||
}
|
}
|
||||||
avctx->frame_size = s->samples;
|
s1->duration = s->samples;
|
||||||
avctx->audio_service_type = s->service_type;
|
avctx->audio_service_type = s->service_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user