You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
h264: stop testing whether the reference count changes in ff_set_ref_count()
It is no longer necessary after 741b494fa8
This commit is contained in:
@@ -1005,14 +1005,9 @@ int ff_set_ref_count(H264Context *h, H264SliceContext *sl)
|
|||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (list_count != sl->list_count ||
|
|
||||||
ref_count[0] != sl->ref_count[0] ||
|
|
||||||
ref_count[1] != sl->ref_count[1]) {
|
|
||||||
sl->ref_count[0] = ref_count[0];
|
sl->ref_count[0] = ref_count[0];
|
||||||
sl->ref_count[1] = ref_count[1];
|
sl->ref_count[1] = ref_count[1];
|
||||||
sl->list_count = list_count;
|
sl->list_count = list_count;
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user