View | Details | Raw Unified | Return to bug 167485
Collapse All | Expand All

(-)b/mplayer/files/patch-libavcodec-mpegaudio_parser.c (+11 lines)
Added Link Here
1
--- ffmpeg/libavcodec/mpegaudio_parser.c.orig	2012-03-04 19:20:05.000000000 +0100
2
+++ ffmpeg/libavcodec/mpegaudio_parser.c	2012-05-01 14:57:54.645626270 +0200
3
@@ -78,7 +78,7 @@
4
                     if (s->header_count > 1) {
5
                         avctx->sample_rate= sr;
6
                         avctx->channels   = channels;
7
-                        s1->duration      = frame_size;
8
+                        avctx->frame_size = frame_size;
9
                         avctx->bit_rate   = bit_rate;
10
                     }
11
                     break;

Return to bug 167485