Skip to content
Snippets Groups Projects
Commit 3e2f94e6 authored by Silas Della Contrada's avatar Silas Della Contrada
Browse files

Added missing return statements in operator=()

parent 3033deb8
No related branches found
No related tags found
No related merge requests found
...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
<project version="4"> <project version="4">
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" /> <mapping directory="$PROJECT_DIR$" vcs="Git" />
<mapping directory="$PROJECT_DIR$/docker/LibAVQt" vcs="Git" />
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -260,6 +260,8 @@ namespace AVQt { ...@@ -260,6 +260,8 @@ namespace AVQt {
delete d_ptr; delete d_ptr;
d_ptr = other.d_ptr; d_ptr = other.d_ptr;
other.d_ptr = nullptr; other.d_ptr = nullptr;
return *this;
} }
EncoderVAAPI::EncoderVAAPI(EncoderVAAPI &&other) { EncoderVAAPI::EncoderVAAPI(EncoderVAAPI &&other) {
......
...@@ -330,6 +330,8 @@ namespace AVQt { ...@@ -330,6 +330,8 @@ namespace AVQt {
d_ptr = other.d_ptr; d_ptr = other.d_ptr;
d_ptr->q_ptr = this; d_ptr->q_ptr = this;
other.d_ptr = nullptr; other.d_ptr = nullptr;
return *this;
} }
int DemuxerPrivate::readFromIO(void *opaque, uint8_t *buf, int bufSize) { int DemuxerPrivate::readFromIO(void *opaque, uint8_t *buf, int bufSize) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment