aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-19 20:39:04 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-19 20:39:04 +0100
commit560eb7179a7c46ba277c9c120840816869a47a70 (patch)
treef2b3b551efdfad47ee5209968fa79f0d882092d3 /libavcodec/parser.c
parente3755119fae71c9e34b630679c2805fcf1c97e2c (diff)
parent31d2039cb42668ebcf08248bc48bbad44aa05f49 (diff)
downloadffmpeg-560eb7179a7c46ba277c9c120840816869a47a70.tar.gz
Merge commit '31d2039cb42668ebcf08248bc48bbad44aa05f49'
* commit '31d2039cb42668ebcf08248bc48bbad44aa05f49': h264_parser: export video format and dimensions Conflicts: libavcodec/h264_parser.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r--libavcodec/parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 83019e74eb..59a3c7508b 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -86,6 +86,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;
err_out: