summaryrefslogtreecommitdiff
path: root/libavformat/output-example.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/output-example.c')
-rw-r--r--libavformat/output-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/output-example.c b/libavformat/output-example.c
index 15e2d9ac98..06207eddfc 100644
--- a/libavformat/output-example.c
+++ b/libavformat/output-example.c
@@ -68,7 +68,7 @@ static AVStream *add_audio_stream(AVFormatContext *oc, enum CodecID codec_id)
c->codec_type = AVMEDIA_TYPE_AUDIO;
/* put sample parameters */
- c->sample_fmt = SAMPLE_FMT_S16;
+ c->sample_fmt = AV_SAMPLE_FMT_S16;
c->bit_rate = 64000;
c->sample_rate = 44100;
c->channels = 2;