Mercurial > libavcodec.hg
comparison svq1.c @ 771:d4cc92144266 libavcodec
handle direct rendering buffer allocation failure
author | michaelni |
---|---|
date | Sun, 27 Oct 2002 00:02:23 +0000 |
parents | 45e8f39fda50 |
children | eacc2dd8fd9d |
comparison
equal
deleted
inserted
replaced
770:d1770a34e4f6 | 771:d4cc92144266 |
---|---|
1083 } | 1083 } |
1084 } | 1084 } |
1085 | 1085 |
1086 result = svq1_decode_frame_header (&s->gb, s); | 1086 result = svq1_decode_frame_header (&s->gb, s); |
1087 | 1087 |
1088 MPV_frame_start(s, avctx); | 1088 if(MPV_frame_start(s, avctx) < 0) |
1089 return -1; | |
1089 | 1090 |
1090 if (result != 0) | 1091 if (result != 0) |
1091 { | 1092 { |
1092 #ifdef DEBUG_SVQ1 | 1093 #ifdef DEBUG_SVQ1 |
1093 printf("Error in svq1_decode_frame_header %i\n",result); | 1094 printf("Error in svq1_decode_frame_header %i\n",result); |