aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-03-24 12:00:21 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-03-25 16:51:53 -0400
commit34b47d7cbc6b7db607e8980453876d5106d0c387 (patch)
treee77d8d28983cfa31a64694c49a93b31be6d87605 /ffmpeg.c
parent7e75f9fe5e53707e0609691d6cc2ca8cd015f132 (diff)
downloadffmpeg-34b47d7cbc6b7db607e8980453876d5106d0c387.tar.gz
Add audio_service_type field to AVCodecContext for encoding and reporting
of the service type in the audio bitstream.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 6922e62244..5e50db3389 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2100,6 +2100,7 @@ static int transcode(AVFormatContext **output_files,
codec->sample_rate = icodec->sample_rate;
codec->channels = icodec->channels;
codec->frame_size = icodec->frame_size;
+ codec->audio_service_type = icodec->audio_service_type;
codec->block_align= icodec->block_align;
if(codec->block_align == 1 && codec->codec_id == CODEC_ID_MP3)
codec->block_align= 0;