OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058d036
)
nsv: return error code instead of discarding it in read_header()
author
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 13 Jun 2011 16:28:54 +0000
(18:28 +0200)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 13 Jun 2011 16:28:54 +0000
(18:28 +0200)
libavformat/nsvdec.c
patch
|
blob
|
history
diff --git
a/libavformat/nsvdec.c
b/libavformat/nsvdec.c
index
b1efa5b
..
81c672e
100644
(file)
--- a/
libavformat/nsvdec.c
+++ b/
libavformat/nsvdec.c
@@
-531,7
+531,7
@@
static int nsv_read_header(AVFormatContext *s, AVFormatParameters *ap)
err = nsv_read_chunk(s, 1);
av_dlog(s, "parsed header\n");
- return
0
;
+ return
err
;
}
static int nsv_read_chunk(AVFormatContext *s, int fill_header)