summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-20 12:37:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-20 12:37:52 +0200
commit04c6ecb7da677049cd52efe2a980e586167e9e5d (patch)
tree1a8279cffbc9424ade212f660d0c99314230011a /libavformat
parentcdea54b4c8cd891aa12f85c41b0cd4bd81be83f9 (diff)
parentc9ef43215c7d68c2cdcdbe02287aa114f27a32ed (diff)
Merge commit 'c9ef43215c7d68c2cdcdbe02287aa114f27a32ed'
* commit 'c9ef43215c7d68c2cdcdbe02287aa114f27a32ed': fate-vc1: add dependencies ARM: fix overreads in neon h264 chroma mc rtsp: Make sure the ret variable is initialized in ff_rtsp_fetch_packet gitignore: ignore files created by msvc fate: Add proper dependencies for the tests in video.mak configure: Disable Snow decoder and encoder by default lzo: Drop obsolete fast_memcpy reference build: Drop OBJS declaration for non-existing PCM_DVD encoder mpeg4videodec: Disable frame multithreading for GMC, its not implemented at all Conflicts: libavcodec/mpegvideo.c libavformat/rtsp.c tests/fate/microsoft.mak tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 0328d28989..ec9634f9d2 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1805,7 +1805,7 @@ int ff_rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt)
ret = rt->recvbuf_pos < rt->recvbuf_len;
}
} else
- av_assert0(0);
+ ret = -1;
if (ret == 0) {
rt->cur_transport_priv = NULL;
return 0;