Revision e20c4069 libavcodec/dv.c

View differences:

libavcodec/dv.c
580 580
    else
581 581
        avctx->aspect_ratio = 4.0 / 3.0;
582 582

  
583
    if(s->picture.data[0])
584
        avctx->release_buffer(avctx, &s->picture);
585
    
583 586
    s->picture.reference= 0;
584 587
    if(avctx->get_buffer(avctx, &s->picture) < 0) {
585 588
        fprintf(stderr, "get_buffer() failed\n");
......
617 620
    *data_size = sizeof(AVFrame);
618 621
    *(AVFrame*)data= s->picture;
619 622
    
620
    avctx->release_buffer(avctx, &s->picture);
621
    
622 623
    return packet_size;
623 624
}
624 625

  

Also available in: Unified diff