diff --git a/libavcodec/dca_parser.c b/libavcodec/dca_parser.c index 337a99d2cb3b98753e9abd6d2f6bc5fa8b448b13..70e64a89b8d6826ef7355c1744368b4f97133fc7 100644 --- a/libavcodec/dca_parser.c +++ b/libavcodec/dca_parser.c @@ -166,7 +166,6 @@ static int dca_parse(AVCodecParserContext *s, AVCodecContext *avctx, /* read the duration and sample rate from the frame header */ if (!dca_parse_params(buf, buf_size, &duration, &sample_rate, &pc1->framesize)) { s->duration = duration; - avctx->sample_rate = sample_rate; } else s->duration = 0;