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:
100e8f8
)
doc/examples/remuxing: dont use the input codec_tag, it may be invalid tor the output
author
Jason Hsu
<support@tuoxie.me>
Tue, 4 Mar 2014 07:11:57 +0000
(15:11 +0800)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 5 Mar 2014 15:10:06 +0000
(16:10 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/examples/remuxing.c
patch
|
blob
|
history
diff --git
a/doc/examples/remuxing.c
b/doc/examples/remuxing.c
index
cdb2f6b
..
39d9dee
100644
(file)
--- a/
doc/examples/remuxing.c
+++ b/
doc/examples/remuxing.c
@@
-99,6
+99,7
@@
int main(int argc, char **argv)
fprintf(stderr, "Failed to copy context from input to output stream codec context\n");
goto end;
}
+ out_stream->codec->codec_tag = 0;
if (ofmt_ctx->oformat->flags & AVFMT_GLOBALHEADER)
out_stream->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
}