Changeset 3d07e0ab in ffmpeg


Ignore:
Timestamp:
Dec 16, 2011, 6:05:19 PM (13 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
cf7076ee
Parents:
22796042
git-author:
Michael Niedermayer <michaelni@gmx.at> (12/16/11 17:55:52)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (12/16/11 18:05:19)
Message:

h264: return the consumed amountg in case of Q264

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavcodec/h264.c

    r22796042 r3d07e0ab  
    41144114        if (avctx->skip_frame >= AVDISCARD_NONREF ||
    41154115            buf_size >= 4 && !memcmp("Q264", buf, 4))
    4116             return 0;
     4116            return buf_size;
    41174117        av_log(avctx, AV_LOG_ERROR, "no frame!\n");
    41184118        return -1;
Note: See TracChangeset for help on using the changeset viewer.