On 07/12/11 17:17, Andrey Utkin wrote:
-    abort();
      return -1;
  }

return AV_ERROR_INVALIDDATA

@@ -1163,6 +1162,10 @@ int MPV_frame_start(MpegEncContext *s, AVCodecContext 
*avctx)
              pic= s->current_picture_ptr; //we already have a unused image 
(maybe it was set before reading the header)
          else{
              i= ff_find_unused_picture(s, 0);
+            if (i == -1) {

if (i < 0)
    return i;



--

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to