ra144enc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/4/head
Michael Niedermayer 13 years ago
parent e22113cf1d
commit b7d4eebd3b
  1. 3
      libavcodec/ra144enc.c

@ -458,8 +458,7 @@ static int ra144_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
if (ractx->last_frame)
return 0;
if ((ret = ff_alloc_packet(avpkt, FRAMESIZE))) {
av_log(avctx, AV_LOG_ERROR, "Error getting output packet\n");
if ((ret = ff_alloc_packet2(avctx, avpkt, FRAMESIZE))) {
return ret;
}

Loading…
Cancel
Save