mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Change calls to abort() to be calls to av_abort()
Originally committed as revision 921 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a782f209df
commit
42343f7e6e
4 changed files with 6 additions and 6 deletions
|
|
@ -250,7 +250,7 @@ static int avi_write_header(AVFormatContext *s)
|
|||
put_le32(pb, 0);
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
av_abort();
|
||||
}
|
||||
end_tag(pb, strh);
|
||||
|
||||
|
|
@ -266,7 +266,7 @@ static int avi_write_header(AVFormatContext *s)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
av_abort();
|
||||
}
|
||||
end_tag(pb, strf);
|
||||
end_tag(pb, list2);
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ static int mpeg_mux_init(AVFormatContext *ctx)
|
|||
s->video_bound++;
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
av_abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -238,7 +238,7 @@ static int mpeg_mux_init(AVFormatContext *ctx)
|
|||
90000 * FRAME_RATE_BASE);
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
av_abort();
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -377,7 +377,7 @@ int rawvideo_read_packet(AVFormatContext *s,
|
|||
packet_size = (width * height * 3);
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
av_abort();
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ static int rm_write_header(AVFormatContext *s)
|
|||
stream->total_frames = stream->nb_packets;
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
av_abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue