mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/framehash: switch to AVFMT_FLAG_BITEXACT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9646ea63df
commit
17c8a06916
|
@ -24,7 +24,7 @@ int ff_framehash_write_header(AVFormatContext *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (s->nb_streams && !(s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT))
|
if (s->nb_streams && !(s->flags & AVFMT_FLAG_BITEXACT))
|
||||||
avio_printf(s->pb, "#software: %s\n", LIBAVFORMAT_IDENT);
|
avio_printf(s->pb, "#software: %s\n", LIBAVFORMAT_IDENT);
|
||||||
for (i = 0; i < s->nb_streams; i++) {
|
for (i = 0; i < s->nb_streams; i++) {
|
||||||
AVStream *st = s->streams[i];
|
AVStream *st = s->streams[i];
|
||||||
|
|
Loading…
Reference in New Issue