aboutsummaryrefslogtreecommitdiff
path: root/libavformat/rdt.c
diff options
context:
space:
mode:
authorMichael Niedermayer2015-02-25 00:31:39 +0100
committerMichael Niedermayer2015-02-25 00:32:06 +0100
commit79052cd4ce4a8857cd1088cc69ba59506dfb1b81 (patch)
tree0fd3a32dc325c6eeec6cf17c47d8616b2e59016e /libavformat/rdt.c
parentfa80b76b110c663809671f7254bc07513710c061 (diff)
parent078d43e23a7a3d64aafee8a58b380d3e139b3020 (diff)
Merge commit '078d43e23a7a3d64aafee8a58b380d3e139b3020'
* commit '078d43e23a7a3d64aafee8a58b380d3e139b3020': rtpdec: Free depacketizers if the init function failed Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r--libavformat/rdt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c
index 3d28be7b92..27c5f9e669 100644
--- a/libavformat/rdt.c
+++ b/libavformat/rdt.c
@@ -298,9 +298,6 @@ rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st,
int seq = 1, res;
AVIOContext pb;
- if (!rdt->rmctx)
- return AVERROR(EINVAL);
-
if (rdt->audio_pkt_cnt == 0) {
int pos;