r16398 - trunk/libavformat/rmdec.c
Author: michael Date: Tue Dec 30 20:49:27 2008 New Revision: 16398 Log: All non zero returns of rm_assemble_video_frame() are errors, check things accordingly. Modified: trunk/libavformat/rmdec.c Modified: trunk/libavformat/rmdec.c ============================================================================== --- trunk/libavformat/rmdec.c Tue Dec 30 13:02:35 2008 (r16397) +++ trunk/libavformat/rmdec.c Tue Dec 30 20:49:27 2008 (r16398) @@ -590,7 +590,7 @@ ff_rm_parse_packet (AVFormatContext *s, if (st->codec->codec_type == CODEC_TYPE_VIDEO) { rm->current_stream= st->id; - if(rm_assemble_video_frame(s, pb, rm, ast, pkt, len) == 1) + if(rm_assemble_video_frame(s, pb, rm, ast, pkt, len)) return -1; //got partial frame } else if (st->codec->codec_type == CODEC_TYPE_AUDIO) { if ((st->codec->codec_id == CODEC_ID_RA_288) ||
participants (1)
-
subversion@mplayerhq.hu