diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-05-09 12:16:45 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-05-15 10:24:54 +0200 |
commit | 51d6ae099f281fecaab874037225b884eeb17794 (patch) | |
tree | f6c256e5a3398875c34a1260bb8012b63917c327 /libavcodec/internal.h | |
parent | 954d16fa3f09a04c7917a1c69a5c3e283554cb1d (diff) | |
download | ffmpeg-51d6ae099f281fecaab874037225b884eeb17794.tar.gz |
lavc/decode: drop a useless warning
Decoders will currently warn if an audio decoder not marked with
AV_CODEC_CAP_SUBFRAMES consumes less than the whole packet, but
* this happens for regular files
* this has no negative consequences
* there is no meeaningful action that can or should be taken in response
The warning is thus useless noise.
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index a283c52e01..dceae182c0 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -148,8 +148,6 @@ typedef struct AVCodecInternal { AVFrame *buffer_frame; int draining_done; - int showed_multi_packet_warning; - /* to prevent infinite loop on errors when draining */ int nb_draining_errors; |