Commit 47c5c942 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '1af78b86'

* commit '1af78b86':
  rtpdec_qt: Add an accidentally removed allocation return value check
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents f31c36e5 1af78b86
......@@ -180,6 +180,8 @@ static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt,
av_freep(&qt->pkt.data);
av_init_packet(&qt->pkt);
qt->pkt.data = av_malloc(alen + FF_INPUT_BUFFER_PADDING_SIZE);
if (!qt->pkt.data)
return AVERROR(ENOMEM);
qt->pkt.size = 0;
qt->timestamp = *timestamp;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment