summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-20 21:57:30 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-20 21:57:34 +0100
commitd19ca4b2eae2d4c9170dfa559472e26730fca4a3 (patch)
treebfd711406b5664044c67c35308f3343d05919bb2 /libavformat/rtpdec_h264.c
parentac7128a90f53c2ff6f49a2af50bd227df472daca (diff)
parenta335ed767161c6da2815371177cfd5e40f78e5b7 (diff)
Merge commit 'a335ed767161c6da2815371177cfd5e40f78e5b7'
* commit 'a335ed767161c6da2815371177cfd5e40f78e5b7': rtpdec_h264: Remove an unnecessary check Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpdec_h264.c')
-rw-r--r--libavformat/rtpdec_h264.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index 6a9759ac21..c8a65320f4 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -214,10 +214,6 @@ static int h264_handle_packet_stap_a(AVFormatContext *ctx, PayloadContext *data,
// eat what we handled
src += 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) {