aboutsummaryrefslogtreecommitdiffstats
path: root/output_example.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-07-22 13:09:26 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-07-22 13:09:26 +0000
commit9f736ea25646eec8e31ab4ed34aa90dd9a29c216 (patch)
tree79b0c8ee106f6df743ef10ad44ec003d37252ae2 /output_example.c
parenta93b9dbac293ab541674d87b4591a9cf55857f7c (diff)
downloadffmpeg-9f736ea25646eec8e31ab4ed34aa90dd9a29c216.tar.gz
removed unnecessary codec
Originally committed as revision 2071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'output_example.c')
-rw-r--r--output_example.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/output_example.c b/output_example.c
index 07869499aa..faaaca9cb7 100644
--- 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 */