comparison cavsdec.c @ 5574:33718fb21437 libavcodec

Initialize the "stc" variable before using it in ff_find_start_code()
author lucabe
date Thu, 23 Aug 2007 07:02:27 +0000
parents b790f8c0ee24
children 042a48b6de72
comparison
equal deleted inserted replaced
5573:204273dd0349 5574:33718fb21437
619 MpegEncContext *s = &h->s; 619 MpegEncContext *s = &h->s;
620 int input_size; 620 int input_size;
621 const uint8_t *buf_end; 621 const uint8_t *buf_end;
622 const uint8_t *buf_ptr; 622 const uint8_t *buf_ptr;
623 AVFrame *picture = data; 623 AVFrame *picture = data;
624 uint32_t stc; 624 uint32_t stc = -1;
625 625
626 s->avctx = avctx; 626 s->avctx = avctx;
627 627
628 if (buf_size == 0) { 628 if (buf_size == 0) {
629 if(!s->low_delay && h->DPB[0].data[0]) { 629 if(!s->low_delay && h->DPB[0].data[0]) {