diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 23:48:14 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 23:48:32 +0300 |
commit | ac7128a90f53c2ff6f49a2af50bd227df472daca (patch) | |
tree | bb006f2f80ebcbb7a796ae03cea93deeeef21ca1 /libavformat | |
parent | 48e661b30b94b3a0f4f635a8a6005619c4e51eb0 (diff) | |
parent | 176903ce833ce7469f411640e9748a0d549b5285 (diff) |
Merge commit '176903ce833ce7469f411640e9748a0d549b5285'
* commit '176903ce833ce7469f411640e9748a0d549b5285':
rtpdec_h264: Return immediately on errors in h264_handle_packet_stap_a
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec_h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c index 6a85f819de..6a9759ac21 100644 --- a/libavformat/rtpdec_h264.c +++ b/libavformat/rtpdec_h264.c @@ -208,6 +208,7 @@ static int h264_handle_packet_stap_a(AVFormatContext *ctx, PayloadContext *data, } else { av_log(ctx, AV_LOG_ERROR, "nal size exceeds length: %d %d\n", nal_size, src_len); + return AVERROR_INVALIDDATA; } // eat what we handled |