OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6133149
)
examples/muxing: provide more information in case of avcodec_open2 failure
author
Stefano Sabatini
<stefasab@gmail.com>
Mon, 15 Oct 2012 13:34:36 +0000
(15:34 +0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Mon, 15 Oct 2012 13:35:50 +0000
(15:35 +0200)
doc/examples/muxing.c
patch
|
blob
|
history
diff --git
a/doc/examples/muxing.c
b/doc/examples/muxing.c
index
c6b0294
..
ed1f8e5
100644
(file)
--- a/
doc/examples/muxing.c
+++ b/
doc/examples/muxing.c
@@
-98,7
+98,7
@@
static void open_audio(AVFormatContext *oc, AVCodec *codec, AVStream *st)
/* open it */
if (avcodec_open2(c, codec, NULL) < 0) {
- fprintf(stderr, "Could not open codec\n");
+ fprintf(stderr, "Could not open
audio
codec\n");
exit(1);
}
@@
-253,7
+253,7
@@
static void open_video(AVFormatContext *oc, AVCodec *codec, AVStream *st)
/* open the codec */
if (avcodec_open2(c, codec, NULL) < 0) {
- fprintf(stderr, "Could not open codec\n");
+ fprintf(stderr, "Could not open
video
codec\n");
exit(1);
}