Revision 4f2954e2 libavcodec/smacker.c

View differences:

libavcodec/smacker.c
360 360

  
361 361
    if(buf_size <= 769)
362 362
        return 0;
363
    if(smk->pic.data[0])
364
            avctx->release_buffer(avctx, &smk->pic);
365 363

  
366 364
    smk->pic.reference = 1;
367 365
    smk->pic.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;

Also available in: Unified diff