mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
avformat/movenc: Use mov->fc consistently for av_log()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
310a49f71d
commit
872ea3dfe5
@ -401,7 +401,7 @@ static int handle_eac3(MOVMuxContext *mov, AVPacket *pkt, MOVTrack *track)
|
|||||||
if (avpriv_ac3_parse_header(&hdr, pkt->data, pkt->size) < 0) {
|
if (avpriv_ac3_parse_header(&hdr, pkt->data, pkt->size) < 0) {
|
||||||
/* drop the packets until we see a good one */
|
/* drop the packets until we see a good one */
|
||||||
if (!track->entry) {
|
if (!track->entry) {
|
||||||
av_log(mov, AV_LOG_WARNING, "Dropping invalid packet from start of the stream\n");
|
av_log(mov->fc, AV_LOG_WARNING, "Dropping invalid packet from start of the stream\n");
|
||||||
ret = 0;
|
ret = 0;
|
||||||
} else
|
} else
|
||||||
ret = AVERROR_INVALIDDATA;
|
ret = AVERROR_INVALIDDATA;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user