OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d3242
)
10l, fix nuv_header for the case when there is no video stream.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Mon, 7 Jul 2008 16:30:39 +0000
(16:30 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Mon, 7 Jul 2008 16:30:39 +0000
(16:30 +0000)
Originally committed as revision 14101 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/nuv.c
patch
|
blob
|
history
diff --git
a/libavformat/nuv.c
b/libavformat/nuv.c
index
74393af
..
995775d
100644
(file)
--- a/
libavformat/nuv.c
+++ b/
libavformat/nuv.c
@@
-179,7
+179,7
@@
static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) {
ctx->a_id = -1;
get_codec_data(pb, vst, ast, is_mythtv);
- ctx->rtjpg_video = vst->codec->codec_id == CODEC_ID_NUV;
+ ctx->rtjpg_video = vst
&& vst
->codec->codec_id == CODEC_ID_NUV;
return 0;
}