diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-05-07 13:55:03 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-05-09 17:46:54 +0200 |
commit | a5117a2444f3e636ff824ea467bc828d482c68fc (patch) | |
tree | 5987200061f5c74ce5b35af47cbcf81a88f8583f /libavcodec/internal.h | |
parent | 6d7f61770094cc80ca2d93c4784c0091411d8242 (diff) | |
download | ffmpeg-a5117a2444f3e636ff824ea467bc828d482c68fc.tar.gz |
lavc: pad last audio frame with silence when needed.
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index bedb2ed85d..57d551d850 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -70,6 +70,12 @@ typedef struct AVCodecInternal { */ int sample_count; #endif + + /** + * An audio frame with less than required samples has been submitted and + * padded with silence. Reject all subsequent frames. + */ + int last_audio_frame; } AVCodecInternal; struct AVCodecDefault { |