You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavf utils: Remove write-only variable
This commit is contained in:
@@ -1700,7 +1700,6 @@ static int seek_frame_generic(AVFormatContext *s,
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if(index < 0 || index==st->nb_index_entries-1){
|
if(index < 0 || index==st->nb_index_entries-1){
|
||||||
int i;
|
|
||||||
AVPacket pkt;
|
AVPacket pkt;
|
||||||
|
|
||||||
if(st->nb_index_entries){
|
if(st->nb_index_entries){
|
||||||
@@ -1713,7 +1712,7 @@ static int seek_frame_generic(AVFormatContext *s,
|
|||||||
if ((ret = avio_seek(s->pb, s->data_offset, SEEK_SET)) < 0)
|
if ((ret = avio_seek(s->pb, s->data_offset, SEEK_SET)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
for(i=0;; i++) {
|
for (;;) {
|
||||||
int read_status;
|
int read_status;
|
||||||
do{
|
do{
|
||||||
read_status = av_read_frame(s, &pkt);
|
read_status = av_read_frame(s, &pkt);
|
||||||
|
Reference in New Issue
Block a user