aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-08-04 20:59:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-04 20:59:36 +0200
commit84a6abd95420f6552c30b11ab5585fdb306269ba (patch)
treeb3c381308d192bd3d4210c6bafee61fce91f37f2 /libavformat
parent82b1516a85ad21b5455dcfef6fe49d1189565c33 (diff)
parent1bf6cb85bebe639c836cdbb4498ea5bc252a7c21 (diff)
downloadffmpeg-84a6abd95420f6552c30b11ab5585fdb306269ba.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: applehttp: fix variant discard logic h263dec: Fix asserts broken by the elimination of FF_COMMON_FRAME. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/applehttp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/applehttp.c b/libavformat/applehttp.c
index 80bf864859..d4026daae2 100644
--- a/libavformat/applehttp.c
+++ b/libavformat/applehttp.c
@@ -412,7 +412,7 @@ reload:
c->end_of_segment = 1;
c->cur_seq_no = v->cur_seq_no;
- if (v->ctx) {
+ if (v->ctx && v->ctx->nb_streams) {
v->needed = 0;
for (i = v->stream_offset; i < v->stream_offset + v->ctx->nb_streams;
i++) {