~ppsspp/ppsspp/ffmpeg-upstream

« back to all changes in this revision

Viewing changes to libavcodec/bytestream.h

  • 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:
71
71
}                                                                              \
72
72
static av_always_inline type bytestream2_get_ ## name(GetByteContext *g)       \
73
73
{                                                                              \
74
 
    if (g->buffer_end - g->buffer < bytes)                                     \
 
74
    if (g->buffer_end - g->buffer < bytes) {                                   \
 
75
        g->buffer = g->buffer_end;                                             \
75
76
        return 0;                                                              \
 
77
    }                                                                          \
76
78
    return bytestream2_get_ ## name ## u(g);                                   \
77
79
}                                                                              \
78
80
static av_always_inline type bytestream2_peek_ ## name(GetByteContext *g)      \