projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c826c56
)
avformat_find_stream_info: Do not consider no streams an error in flush codecs
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 2 Jul 2013 13:04:13 +0000
(15:04 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 2 Jul 2013 13:07:51 +0000
(15:07 +0200)
This should have no functional effect, but allows a cleaner diff when moving it
down
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
962370c
..
9577968
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-2888,7
+2888,7
@@
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
int err = 0;
av_init_packet(&empty_pkt);
- if (ret >= 0)
+ if (ret >= 0
&& ic->nb_streams
)
ret = -1; /* we could not have all the codec parameters before EOF */
for(i=0;i<ic->nb_streams;i++) {