(e)ac3 parser: set duration instead of frame_size
This commit is contained in:
parent
c7f3f1c91e
commit
16e54ac725
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user