aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-01 21:35:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-01 21:35:20 +0100
commit8c15f9d79c9bf0565e721097e1b022fc2023728d (patch)
treeb2989cf4f168b6b66887b5bc401b71bf6f30a869
parentdd974c1bc1dc3116fffdbbb28a4ebfce7e1318ee (diff)
parent59a58884b9f2fb42720d78e1af643c0f0b46b2ac (diff)
downloadffmpeg-8c15f9d79c9bf0565e721097e1b022fc2023728d.tar.gz
Merge remote-tracking branch 'cus/stable'
* cus/stable: ffplay: Copy audio side data too. This fixes handling of some rare nellymoser files that change the sample rate mid stream (sample file at: http://trac.videolan.org/vlc/ticket/5586) Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffplay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 75e0bb55bf..51753e24aa 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2152,6 +2152,9 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr)
pkt_temp->data = pkt->data;
pkt_temp->size = pkt->size;
+ pkt_temp->flags = pkt->flags;
+ pkt_temp->side_data = pkt->side_data;
+ pkt_temp->side_data_elems = pkt->side_data_elems;
/* if update the audio clock with the pts */
if (pkt->pts != AV_NOPTS_VALUE) {