diff options
Diffstat (limited to 'doc/examples/transcode_aac.c')
-rw-r--r-- | doc/examples/transcode_aac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c index 339d65c71c..a09b30d148 100644 --- a/doc/examples/transcode_aac.c +++ b/doc/examples/transcode_aac.c @@ -192,7 +192,7 @@ static int open_output_file(const char *filename, * Mark the encoder so that it behaves accordingly. */ if ((*output_format_context)->oformat->flags & AVFMT_GLOBALHEADER) - (*output_codec_context)->flags |= CODEC_FLAG_GLOBAL_HEADER; + (*output_codec_context)->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; /** Open the encoder for the audio stream to use it later. */ if ((error = avcodec_open2(*output_codec_context, output_codec, NULL)) < 0) { |