Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 354159 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +7 lines)
Line  Link Here
0
-- transcode-1.1.5-old/import/import_ffmpeg.c  2011-08-27 21:00:01.813384739 +0400
0
++ transcode-1.1.5/import/import_ffmpeg.c      2011-08-27 20:58:27.873246965 +0400
Lines 543-550 Link Here
543
retry:
543
retry:
544
    do {
544
    do {
545
      TC_LOCK_LIBAVCODEC;
545
      TC_LOCK_LIBAVCODEC;
546
      len = avcodec_decode_video(lavc_dec_context, &picture,
546
      AVPacket pkt;
547
                                &got_picture, buffer, bytes_read);
547
      av_init_packet( &pkt );
548
      pkt.data = buffer;
549
      pkt.size = bytes_read;
550
      len = avcodec_decode_video2(lavc_dec_context, &picture,
551
                                &got_picture, &pkt);
548
      TC_UNLOCK_LIBAVCODEC;
552
      TC_UNLOCK_LIBAVCODEC;
549
553
550
      if (len < 0) {
554
      if (len < 0) {

Return to bug 354159