Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJason Hsu <support@tuoxie.me>2014-03-04 11:11:57 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-03-05 19:10:06 +0400
commit8fb4dba89d7b52280e2c1f7d2ddbfc7ccffb91fd (patch)
tree871193ef6114d40aac060501aa2cba8b2e376fc2 /doc
parent100e8f8b67b40ea1bcc858df5ee8e50012c0959d (diff)
doc/examples/remuxing: dont use the input codec_tag, it may be invalid tor the output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/remuxing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/remuxing.c b/doc/examples/remuxing.c
index cdb2f6b329..39d9dee862 100644
--- 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;
}