aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-01-12 20:59:43 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-20 15:08:40 -0500
commit16e54ac7255d47e70ba9ba60d5ce5d0a0e44b223 (patch)
treec4fe7ad3bd072c0350265d51eaa22fe9f6f05e1d
parentc7f3f1c91eae60dfb3e789ce4a366b2e82ef0970 (diff)
downloadffmpeg-16e54ac7255d47e70ba9ba60d5ce5d0a0e44b223.tar.gz
(e)ac3 parser: set duration instead of frame_size
-rw-r--r--libavcodec/aac_ac3_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c
index 58f30a4180..8132ce899a 100644
--- a/libavcodec/aac_ac3_parser.c
+++ b/libavcodec/aac_ac3_parser.c
@@ -93,7 +93,7 @@ get_next:
avctx->channels = s->channels;
avctx->channel_layout = s->channel_layout;
}
- avctx->frame_size = s->samples;
+ s1->duration = s->samples;
avctx->audio_service_type = s->service_type;
}