comparison h263dec.c @ 51:6ea595d66852 libavcodec

fix msmpeg4 seek
author glantau
date Sat, 11 Aug 2001 19:01:04 +0000
parents 4d50c7d89e0f
children 41791691746f
comparison
equal deleted inserted replaced
50:4ea4c10d03d8 51:6ea595d66852
105 ret = h263_decode_picture_header(s); 105 ret = h263_decode_picture_header(s);
106 } 106 }
107 if (ret < 0) 107 if (ret < 0)
108 return -1; 108 return -1;
109 109
110 /* make sure we start with an I-Frame */
111 if (!s->slice_height && (s->pict_type != I_TYPE))
112 return -1;
113
110 MPV_frame_start(s); 114 MPV_frame_start(s);
111 115
112 #ifdef DEBUG 116 #ifdef DEBUG
113 printf("qscale=%d\n", s->qscale); 117 printf("qscale=%d\n", s->qscale);
114 #endif 118 #endif