1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

Merge commit 'a335ed767161c6da2815371177cfd5e40f78e5b7'

* commit 'a335ed767161c6da2815371177cfd5e40f78e5b7':
  rtpdec_h264: Remove an unnecessary check

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2015-02-20 21:57:30 +01:00

View File

@@ -214,10 +214,6 @@ static int h264_handle_packet_stap_a(AVFormatContext *ctx, PayloadContext *data,
// eat what we handled // eat what we handled
src += nal_size; src += nal_size;
src_len -= nal_size; src_len -= nal_size;
if (src_len < 0)
av_log(ctx, AV_LOG_ERROR,
"Consumed more bytes than we got! (%d)\n", src_len);
} }
if (pass == 0) { if (pass == 0) {