~ppsspp/ppsspp/ffmpeg-upstream

« back to all changes in this revision

Viewing changes to libavcodec/rawenc.c

  • Committer: Sérgio Benjamim
  • Date: 2015-07-20 03:55:05 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20150720035505-i1jj1zcjcnd0mc7w
Updated to 2.7.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    if (ret < 0)
55
55
        return ret;
56
56
 
57
 
    if ((ret = ff_alloc_packet2(avctx, pkt, ret)) < 0)
 
57
    if ((ret = ff_alloc_packet(pkt, ret)) < 0)
58
58
        return ret;
59
59
    if ((ret = avpicture_layout((const AVPicture *)frame, avctx->pix_fmt, avctx->width,
60
60
                                avctx->height, pkt->data, pkt->size)) < 0)