diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-27 10:19:53 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-06 09:27:11 +0200 |
commit | e4cbf7529ba4bcfff47c44b0d026ecb356004c8c (patch) | |
tree | a1c3a3fb245220594acbf15f7c9ec7344bb03db7 /libavcodec/bytestream.h | |
parent | 76f644d9f7f511a4e8dbc4938d40c43b49383c22 (diff) | |
download | ffmpeg-e4cbf7529ba4bcfff47c44b0d026ecb356004c8c.tar.gz |
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
Diffstat (limited to 'libavcodec/bytestream.h')
-rw-r--r-- | libavcodec/bytestream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h index 444f758e5d..0f89558e3d 100644 --- a/libavcodec/bytestream.h +++ b/libavcodec/bytestream.h @@ -29,11 +29,11 @@ #include "libavutil/common.h" #include "libavutil/intreadwrite.h" -typedef struct { +typedef struct GetByteContext { const uint8_t *buffer, *buffer_end, *buffer_start; } GetByteContext; -typedef struct { +typedef struct PutByteContext { uint8_t *buffer, *buffer_end, *buffer_start; int eof; } PutByteContext; |