comparison h263dec.c @ 231:840cd25bf259 libavcodec

- Fixes on RTP and GOB headers for H.263. - RTP callback system implemented for H.263/H.263+. - Bug fix on DC coefficients of H.263. - H.263 decoder now returns PTS on picture number.
author pulento
date Sat, 09 Feb 2002 16:59:56 +0000
parents 2eb04d6be309
children d1a9663b973b
comparison
equal deleted inserted replaced
230:ba9cd6fb6f0e 231:840cd25bf259
223 pict->linesize[0] = s->linesize; 223 pict->linesize[0] = s->linesize;
224 pict->linesize[1] = s->linesize / 2; 224 pict->linesize[1] = s->linesize / 2;
225 pict->linesize[2] = s->linesize / 2; 225 pict->linesize[2] = s->linesize / 2;
226 226
227 avctx->quality = s->qscale; 227 avctx->quality = s->qscale;
228
229 /* Return the Picture timestamp as the frame number */
230 /* we substract 1 because it is added on utils.c */
231 avctx->frame_number = s->picture_number - 1;
232
228 *data_size = sizeof(AVPicture); 233 *data_size = sizeof(AVPicture);
229 return buf_size; 234 return buf_size;
230 } 235 }
231 236
232 AVCodec mpeg4_decoder = { 237 AVCodec mpeg4_decoder = {