diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-02-09 14:41:50 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-19 15:07:52 +0100 |
commit | 31d2039cb42668ebcf08248bc48bbad44aa05f49 (patch) | |
tree | 1c52e9e8eb0d14950bb640d62ceac1342034ce91 /libavcodec/parser.c | |
parent | 5b1d9ceec715846a58fe029bc3889ed6fa62436a (diff) | |
download | ffmpeg-31d2039cb42668ebcf08248bc48bbad44aa05f49.tar.gz |
h264_parser: export video format and dimensions
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r-- | libavcodec/parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c index 0a5c2cae33..4404d97d67 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -89,6 +89,8 @@ found: s->dts_sync_point = INT_MIN; s->dts_ref_dts_delta = INT_MIN; s->pts_dts_delta = INT_MIN; + s->format = -1; + return s; } |