projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a93b9db
)
removed unnecessary codec
author
Fabrice Bellard
<fabrice@bellard.org>
Tue, 22 Jul 2003 13:09:26 +0000
(13:09 +0000)
committer
Fabrice Bellard
<fabrice@bellard.org>
Tue, 22 Jul 2003 13:09:26 +0000
(13:09 +0000)
Originally committed as revision 2071 to svn://svn.ffmpeg.org/ffmpeg/trunk
output_example.c
patch
|
blob
|
history
diff --git
a/output_example.c
b/output_example.c
index
0786949
..
faaaca9
100644
(file)
--- a/
output_example.c
+++ b/
output_example.c
@@
-63,9
+63,6
@@
AVStream *add_audio_stream(AVFormatContext *oc, int codec_id)
exit(1);
}
c = &st->codec;
-
- avcodec_get_context_defaults(c);
-
c->codec_type = CODEC_TYPE_AUDIO;
/* put sample parameters */
@@
-161,9
+158,6
@@
AVStream *add_video_stream(AVFormatContext *oc, int codec_id)
}
c = &st->codec;
-
- avcodec_get_context_defaults(c);
-
c->codec_type = CODEC_TYPE_VIDEO;
/* put sample parameters */